<template>
  <header class="zc-header">
    <slot name="left"> </slot>
    <slot name="mid"></slot>
    <slot name="right"></slot>
  </header>
</template>

<script>
export default {
  name: "compHeader",
};
</script>

<style lang="less" scoped>
@searchfC: #b0b0b0;
.zc-header {
  position: fixed;
  left: 0;
  top: 0px;
  z-index: 10000;
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: space-between;
  .search {
    flex-grow: 1;
    margin: 0 10px;
    position: relative;
    .icon {
      display: inline-block;
      font-size: 16px;
      margin: 15px 10px 0 0;
      position: absolute;
      left: 50px;
      top: 0;
      color: @searchfC;
    }
    .search-inp {
      width: 100%;
      height: 30px;
      margin: 8px 0;
      font-size: 12px;
      padding-left: 70px;
      box-sizing: border-box;
      color: @searchfC;
    }
  }
}
</style>